/**
 * Stylesheet for the dkret3 settings page
 *
 * dkret's settings page lets users change the way dkret looks and behaves.
 * As a fairly involved form-based page with a non-standard layout, a certain
 * amount of CSS is needed to keep things in order.
 *
 * @since 3.6
 * @package dkret3
 */

/**
 * Overall page styling
 *
 * Broad-brush stuff, setting the stage for the form elements. Makes the page
 * background grey, puts the page title in its place, and sorts out other
 * header and footer elements.
 */
#dkret-settings-header { clear: both; margin: 1em 0; }
#dkret-settings-header h2 { float: left; margin: 0 0.8em 0 0; border: none; padding: 0; }
#dkret-save-settings, #dkret-info { display: block; padding: 0; }
#dkret-save-settings { float: left; margin: 0.6em 0 0 0; }
#dkret-info { float: right; margin: 0.8em 0 0 0; font-weight: bold; }
.rtl { text-align: right; direction: rtl; }
.icon32 { margin: 0 5px 0 0; }

/**
 * Positioning
 *
 * The 'span' class is for elements which span the entire page width, while
 * the 'primary' and 'secondary' classes are for blocks which are floated to
 * left and right respectively, clearing only those above them and thus
 * allowing for fairly flexible layouts.
 */
.span { clear: both; }
.clearer { display: block; clear: both; height: 0; visibility: hidden; }
.primary, .secondary { width: 49.5%; }
.primary, .rtl .secondary { float: left; clear: left; }
.secondary, .rtl .primary { float: right; clear: right; }
#dkret-settings .updated { margin-bottom: 15px; }
.theme_information { clear: right; float: right; padding-left: 30px; }
.title { font-size: 14px; font-weight: bold; padding: 15px; position: absolute; }
.adsense-block { float: left; width: 33%; }
.widefat { width: 98%; }

/**
 * Form sections and elements
 *
 * Form layouts are a dark art, and these rules let us specify a bit more
 * precisely than the WordPress defaults do how things should appear.
 */
.postbox .inside { margin: 10px; }
.postbox h4, .postbox p { margin: 0 0 0.8em 0; }
.postbox .option, .postbox .suboption  { margin:0 -10px; border-top:1px solid #dfdfdf; padding:0.8em 10px 0 10px; }
.postbox .borderless { border-top: none; padding-top: 0; }
.postbox label, .postbox select, .postbox input.text { display: block; margin: 0 0 0.8em 0; }
.postbox input.text { border: 1px solid #ccc; }
.postbox .option label { font-weight: bold; }
.postbox .details { margin: 0 -10px -10px -10px; border-top:1px solid #dfdfdf; padding: 0.4em 10px 1px 10px; background: #f9f9f9; -webkit-border-bottom-right-radius: 6px; -moz-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; -webkit-border-bottom-left-radius: 6px; -moz-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
#dkret-settings .highlight { background: none; color: #d54e21; }
#dkret-update-status { margin: -10px -10px 0.8em -10px; border-bottom: 1px solid #dfdfdf; padding: 10px; }
#dkret-update-status p { font-family: Georgia, Times, serif; font-size: 14px; }
#dkret-update-status.update-available { background-color: #eaf2fa; }
#dkret-update-status.problem { background-color: #f9f9f9; }
#dkret-update-status.disabled { background-color: #f9f9f9; }
#dkret-update-status p:last-child { margin-bottom: 0; }